package com.lechi.web.common.alarm;

public class BetweenXAndYOverTime extends AlarmRuleStrategy {

    @Override
    public boolean ifAlarm(Float monitorVal) {
        return monitorVal.floatValue() > getAboveX().intValue() && monitorVal.floatValue() < getBelowY().intValue();
    }

}
